package com.ruoyi.examination.service;

import java.util.List;
import com.ruoyi.examination.domain.AnswerRecord;

/**
 * 答题记录Service接口
 * 
 * @author hcc
 * @date 2025-10-21
 */
public interface IAnswerRecordService 
{
    /**
     * 查询答题记录
     * 
     * @param answerRecordId 答题记录主键
     * @return 答题记录
     */
    public AnswerRecord selectAnswerRecordByAnswerRecordId(String answerRecordId);

    /**
     * 查询答题记录列表
     * 
     * @param answerRecord 答题记录
     * @return 答题记录集合
     */
    public List<AnswerRecord> selectAnswerRecordList(AnswerRecord answerRecord);

    /**
     * 新增答题记录
     * 
     * @param answerRecord 答题记录
     * @return 结果
     */
    public int insertAnswerRecord(AnswerRecord answerRecord);

    /**
     * 修改答题记录
     * 
     * @param answerRecord 答题记录
     * @return 结果
     */
    public int updateAnswerRecord(AnswerRecord answerRecord);

    /**
     * 批量删除答题记录
     * 
     * @param answerRecordIds 需要删除的答题记录主键集合
     * @return 结果
     */
    public int deleteAnswerRecordByAnswerRecordIds(String[] answerRecordIds);

    /**
     * 删除答题记录信息
     * 
     * @param answerRecordId 答题记录主键
     * @return 结果
     */
    public int deleteAnswerRecordByAnswerRecordId(String answerRecordId);
}
